package test06.tx2;

public class MainTest01 {
    public static void main(String[] args) {
        Box box = new Box();
        BoyThread boyThread1 = new BoyThread(box,"男孩1");
        BoyThread boyThread2 = new BoyThread(box,"男孩2");
        BoyThread boyThread3 = new BoyThread(box,"男孩3");

        GirlThread girlThread1 = new GirlThread(box,"女孩1");
        GirlThread girlThread2 = new GirlThread(box,"女孩2");
        GirlThread girlThread3 = new GirlThread(box,"女孩3");

        boyThread1.start();
        boyThread2.start();
        boyThread3.start();

        girlThread1.start();
        girlThread2.start();
        girlThread3.start();
    }
}
